﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"
     xml:lang="en">
  <head>
    <title>Information Center for ARM</title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
    <link type="text/css" rel="stylesheet" media="all" href="file://$TOOLKIT_DIR$/doc/infocenter/style/ewic.css" />
  </head>
  <body>
  <div id="topbanner"></div>
  <div id="titlebanner_small">
    <h2>Information Center for ARM</h2>
  </div>
  <div class="breadcrumb"><a href="$TOOLKIT_DIR$/doc/infocenter/index.ENU.html">Information Center for ARM</a> | EXAMPLES</div>
  <div class="mainblock">
   <h2>Example description</h2>

   <pre>  <!--Insert readme.txt-->
UART Echo

DESCRIPTION
===========
This example project shows how to use the IAR Embedded Workbench for ARM
to develop code for the IMX25-SK evaluation board. It shows the basic use of I/O, 
system initialization (PLL, MAX, AIPI, EMI, MMU, AITC), timers and UART1 (CN3). 
The example returns echo on every received characher, LED0 indicates framing error, 
LED1 indicates overrun erro and LED2 indicates brake.

COMPATIBILITY
=============
The example project is compatible with the IMX25-SK evaluation board. By default, 
the project is configured to use the J-Link JTAG interface.

CONFIGURATION
=============
Use the default jumper and switch settings on the board. For more information, read the the 
Getting Started Guide for IAR KickStart Kit for Freescale i.MX25.

You need also connect UART1 (CN3) and PC with RS232 serial cable (not included in the kit), 
then open a Hyper Terminal (Start->All Programs->Accessories->Communications) with the 
following settings:

   Communication speed: 115200 bps
   Number of data bits:    8
   Number of stop bits:    1
   Parity:	none
   Flow control:	none

GETTING STARTED
===============
  1) Follow the steps in the Getting Started Guide to open the example project UART Echo. 

  2) Build and download the program.

  3) Run the program—Typing in the Hyper Terminal, you'll see the example returns echo on 
      every received characher. To test the error, just lower the Hyper Terminal communication 
      speed, for example to 4800. Typing again, you won't see any echo, but only the LD8 (LED2) 
      and LD10 (LED0) lighting.

   </pre>

  </div>
  </body>
</html>











